package lrz.shiftplanner.staff;

public class PersonElement implements Comparable<PersonElement>{
	public Person person;
	public int key;
	@Override
	public int compareTo(PersonElement e) {
		return Integer.valueOf(key).compareTo(Integer.valueOf(e.key));
	}
	
	public PersonElement(Person p, int k) {
		person = p;
		key = k;
	}
}
